#!/bin/bash

# 激活虚拟环境
source .venv/bin/activate

# 设置PYTHONPATH，将项目根目录添加到Python路径中
export PYTHONPATH="$PYTHONPATH:$(pwd)"

# 进入ticket_system目录
cd ticket_system

# 运行Django开发服务器
python manage.py runserver